package com.dynamic.sync.toolkit.controller;

import com.dynamic.sync.toolkit.mongo.sync.request.SyncFromDevReq;
import com.dynamic.sync.toolkit.mongo.sync.request.SyncFromPrdReq;
import com.dynamic.sync.toolkit.mongo.sync.request.SyncFromPreReq;
import com.dynamic.sync.toolkit.mongo.sync.request.SyncFromTestReq;
import com.dynamic.sync.toolkit.mongo.sync.request.SyncSourceToTargetReq;
import com.dynamic.sync.toolkit.mongo.sync.service.MongoSyncService;
import com.dynamic.sync.toolkit.mongo.sync.service.SyncYzfReportSettingMongoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author ZonLen since on 2021/6/19 下午8:19
 */
@RestController
@RequestMapping("/yonyou/taxCloud")
public class SyncYzfReportSettingMongoController {

  @Autowired
  private SyncYzfReportSettingMongoService syncYzfReportSettingMongoService;



  @PostMapping("/syncFromPrdForYzfReportSetting")
  public String syncFromPrdForYzfReportSetting(){
    syncYzfReportSettingMongoService.syncFromPrdForYzfReportSetting();
    return "SUCCESS";
  }

}
